<?php

/* * 
 * 产品分类模型
 */
namespace User\Model;
use Think\Model\ViewModel;



class XiaoshouModel extends ViewModel {


	public $viewFields = array(
		"OrderInfo"=>array("id","order_sn","product_id","product_list_id","price","color","chicun","waikuang","waikuang","num"),

		'Product' => array(

			"title","thumb",
			'_on'=>'OrderInfo.product_id=Product.id'

		),
		'Order' => array(
			'_as'=>'myBlog',
			"uid",
			'_on'=>'OrderInfo.order_sn=myBlog.order_sn'

		),
	);

  







	}

?>